export const tableList = [
  { demoId: '1', demoName: '硬件类' },
  { demoId: '2', demoName: '软件类' },
  { demoId: '3', demoName: '硬件类/软件类' },
];

export const funList = [
  {
    name: '界面',
    item: '自定义UI',
    smart: true,
    live: true,
    ugc: true,
    trtc: true,
    play: true,
    allfun: true,
  },
  {
    name: '采集拍摄',
    item: '屏比（高宽比）',
    smart: true,
    live: true,
    ugc: true,
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '采集拍摄',
    item: '横竖屏切换',
    smart: true,
    live: true,
    ugc: true,
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '采集拍摄',
    item: '清晰度（分辨率）',
    smart: true,
    live: true,
    ugc: true,
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '采集拍摄',
    show: true,
    item: 'more',
    smart: '',
    live: '',
    ugc: '',
    trtc: '',
    play: '',
    allfun: '',
  },
  {
    name: '编码传输',
    item: 'H264',
    smart: '',
    live: '',
    ugc: true,
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编码传输',
    item: 'Qos流控策略',
    smart: true,
    live: true,
    ugc: true,
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编码传输',
    item: '上传云点播',
    smart: '',
    live: '',
    ugc: '',
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编辑处理',
    item: '快速导入',
    smart: '',
    live: '',
    ugc: '',
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编辑处理',
    item: '视频裁剪',
    smart: '',
    live: '',
    ugc: '',
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编辑处理',
    item: '输出码率设置',
    smart: '',
    live: '',
    ugc: '',
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编辑处理',
    item: 'XXXX',
    smart: '',
    live: '',
    ugc: '',
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编辑处理',
    item: 'XXXX',
    smart: '',
    live: '',
    ugc: '',
    trtc: true,
    play: '',
    allfun: true,
  },
  {
    name: '编辑处理',
    item: 'more',
    smart: '',
    live: '',
    ugc: '',
    trtc: '',
    play: '',
    allfun: '',
  },
  {
    name: '直播推流',
    item: '摄像头推流',
    smart: true,
    live: true,
    ugc: '',
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '直播推流',
    item: '录屏推流',
    smart: true,
    live: true,
    ugc: '',
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '直播推流',
    item: '纯音频推流',
    smart: true,
    live: true,
    ugc: '',
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '直播推流',
    item: 'more',
    smart: '',
    live: '',
    ugc: '',
    trtc: '',
    play: '',
    allfun: '',
  },
  {
    name: '直播播放',
    item: 'Rtmp/Flv多协议',
    smart: true,
    live: true,
    ugc: '',
    trtc: '',
    play: true,
    allfun: true,
  },
  {
    name: '直播播放',
    item: 'Cmaf',
    smart: true,
    live: true,
    ugc: true,
    trtc: true,
    play: true,
    allfun: true,
  },
  {
    name: '直播播放',
    item: 'Webrtc',
    smart: '',
    live: true,
    ugc: '',
    trtc: '',
    play: true,
    allfun: true,
  },
  {
    name: '直播播放',
    item: 'more',
    smart: '',
    live: '',
    ugc: '',
    trtc: '',
    play: '',
    allfun: '',
  },
  {
    name: '公共播放',
    item: '音量调节',
    smart: '',
    live: true,
    ugc: true,
    trtc: '',
    play: true,
    allfun: true,
  },
  {
    name: '公共播放',
    item: '清晰度切换',
    smart: '',
    live: true,
    ugc: true,
    trtc: '',
    play: true,
    allfun: true,
  },
  {
    name: '公共播放',
    item: '横竖/全屏切换',
    smart: '',
    live: true,
    ugc: true,
    trtc: '',
    play: '',
    allfun: '',
  },
  {
    name: '公共播放',
    item: 'more',
    smart: '',
    live: '',
    ugc: '',
    trtc: '',
    play: '',
    allfun: '',
  },
  {
    name: '点播播放',
    item: '多格式支持',
    smart: '',
    live: '',
    ugc: true,
    trtc: '',
    play: true,
    allfun: true,
  },
  {
    name: '点播播放',
    item: 'DASH协议支持',
    smart: '',
    live: '',
    ugc: true,
    trtc: '',
    play: true,
    allfun: true,
  },
  {
    name: '点播播放',
    item: '支持HTTPS',
    smart: '',
    live: '',
    ugc: true,
    trtc: '',
    play: true,
    allfun: true,
  },
  {
    name: '点播播放',
    item: 'more',
    smart: '',
    live: '',
    ugc: '',
    trtc: '',
    play: '',
    allfun: '',
  },
  {
    name: '音视频通信（房间）',
    item: '音视频通话',
    smart: '',
    live: '',
    ugc: true,
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '音视频通信（房间）',
    item: '房间管理',
    smart: '',
    live: '',
    ugc: true,
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '音视频通信（房间）',
    item: '屏幕分享',
    smart: '',
    live: '',
    ugc: true,
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '音视频通信（推拉流）',
    item: '连麦互动',
    smart: '',
    live: true,
    ugc: '',
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '音视频通信（推拉流）',
    item: '跨房PK',
    smart: '',
    live: true,
    ugc: '',
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '音视频通信（推拉流）',
    item: '低延迟大房间播放',
    smart: '',
    live: true,
    ugc: '',
    trtc: '',
    play: '',
    allfun: true,
  },
  {
    name: '音视频通信（推拉流）',
    item: 'more',
    smart: '',
    live: '',
    ugc: '',
    trtc: '',
    play: '',
    allfun: '',
  },
];
// const _map = funLists.reduce((total, data) => {
//   let list = total.get(data.name);
//   if (!list) {
//     list = [];
//     total.set(data.name, list);
//   }
//   list.push(data);
//   return total;
// }, new Map());
// export const funList = Array.from(_map.entries());
// console.log(funList);
